(auto-coding-regexp-alist): Use utf-8-with-signature for files
authorJason Rumney <jasonr@gnu.org>
Sat, 20 Dec 2008 09:29:54 +0000 (09:29 +0000)
committerJason Rumney <jasonr@gnu.org>
Sat, 20 Dec 2008 09:29:54 +0000 (09:29 +0000)
starting with UTF-8 BOM.

lisp/international/mule.el

index 9563fa42733a14f0558f3faecf703fed3548ded4..23e3bfa8e4ba870bc29c24e1c004014b2bcd1328 100644 (file)
@@ -1600,7 +1600,7 @@ and the contents of `file-coding-system-alist'."
   '(("^BABYL OPTIONS:[ \t]*-\\*-[ \t]*rmail[ \t]*-\\*-" . no-conversion)
     ("\\`\xFE\xFF" . utf-16be-with-signature)
     ("\\`\xFF\xFE" . utf-16le-with-signature)
-    ("\\`\xEF\xBB\xBF" . utf-8)
+    ("\\`\xEF\xBB\xBF" . utf-8-with-signature)
     ("\\`;ELC\024\0\0\0" . emacs-mule))        ; Emacs 20-compiled
   "Alist of patterns vs corresponding coding systems.
 Each element looks like (REGEXP . CODING-SYSTEM).